CDN configuration

Configuration process

Our CDN configuration is very simple, just two steps.

  1. Fill in the domain name and origin address you need to accelerate.

    Note here:

    (1) Accelerated domain name: Accelerated domain name is the address accessed by users, usually the secondary domain name. We do not recommend you to fill in the top-level domain name here, because most domain name providers do not allow the CNAME switching of the top-level domain name (that is, the dns configuration of the cdn).

    (2) Origin: We support url or ip address. By default, our server will request files through the HTTP protocol and port (for http, we will request files through ports 80 and 8080, and for https, we will request files through port 443).

    Note here that our source supports example.com or subexample.example.com, does not support example .com/folder.If you want CDN to cache the content only in example.com/folder, move the content from example.com/folder to the subdomain folder.example.com which should be used as an origin. image

2.Choose the network tier you want to activate, which determines the range of acceleration you can accelerate in the future. It should be noted that if you purchase the monthly plan in advance, we will assume that you will accelerate according to the tier of the monthly plan. Please refer to billing for specific billing rules. image

  1. We will generate a CNAME. You can find it in the Activate Configuration.

  2. In this step, you need to configure DNS on the website of your domain name service provider, and point your accelerated domain name to the CNAME address produced by us. Please refer to the CNAME DNS configuration menu.

In this way, you have completed the basic configuration of the CDN. Later, you can find the resource in the CDN list for operations such as cache time, CORS, and pre storage clearing.

Tier selection

When creating resources, you can choose different tiers. The tier will affect the range of use of your acceleration position, and the unit price will vary for different tiers.

There are currently two network tiers available for selection.

Standard network: It includes all nodes and is suitable for customers whose business is distributed globally. Among them, regions such as Africa, the Middle East, and Southeast Asia with stable business needs are more suitable.

Core network: an international node consisting of eight backbone networks, covering five continents, suitable for business without regional bias or exploring customers.

CNAME DNS configuration

CNAME is technically different URL alias. We will create an accelerated domain name for you, which is the sub domain name "xxx. r.cdn36. com" under the LightCDN domain name. In order to enable you to directly use your own website, please complete the configuration according to the following steps:

  1. In the activation list, we show the CNAME we generated.

  2. Log in to your own DNS (the service provider platform of the domain name) and configure a DNS record in the panel. Normally, the parameters will be filled as follows:

    Host Record - > accelerate prefix of domain name address

    Type -> CNAME

    Records - > CNAME address generated by us

    Example,your own website:show.example.com

    show CNAME 10219741.r.cdn36.com

If you are not familiar with DNS, please contact the domain provider to assist you in DNS configuration. Note that DNS changes may take 24 hours to take effect.

Of course, there is a simpler way. If you only cache a static file, you only need to change the origin path of the file to the CNAME we provide, for example, Your file path is:

img src=" https://example.com/path/to/image.jpg"

Replace with CNAME:

img src=" https://10219741.r.cdn36.com/path/to/image.jpg"

How to check whether your CNAME is completed?

Simple, you can use the website Verify: https://dnschecked.com/

LightCDN all right reserved,powered by GitbookUpdated Time: 2024-03-19 10:28:16

results matching ""

    No results matching ""